package users.examples.beans;

public class Config {

	private final String dateFormat;
	private final DatabaseParameters dbParms;
	private int maxCacheSize;

	public Config(String dateFormat, DatabaseParameters dbParms) {
		this.dateFormat = dateFormat;
		this.dbParms = dbParms;
	}

	public final String getDateFormat() {
		return dateFormat;
	}

	public final DatabaseParameters getDbParms() {
		return dbParms;
	}

	public final int getMaxCacheSize() {
		return maxCacheSize;
	}

	public final void setMaxCacheSize(int maxCacheSize) {
		this.maxCacheSize = maxCacheSize;
	}

}
